package com.mxx.democharts2.service.impl;

import com.mxx.democharts2.dao.mapper.SmartProcessTaskMapper;
import com.mxx.democharts2.pojo.SmartProcessTask;
import com.mxx.democharts2.service.MxxService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class MxxServiceImpl implements MxxService {

    @Autowired
    private SmartProcessTaskMapper smartProcessTaskMapper;

    @Override
    public SmartProcessTask findSmartProcessTaskByKey(Integer key) {
        return smartProcessTaskMapper.selectByPrimaryKey(key);
    }
}
